package com.bright.hxj.qchz.pojo.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.bright.ghj.common.mybatis.pojo.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * <p>
 * 数据对接接收主表配置
 * </p>
 *
 * @author hxj
 * @since 2025-01-06
 */
@Data
  @EqualsAndHashCode(callSuper = true)
    @TableName("Duijie_JieShou_Deploy")
public class Duijie_ShiJieShouDeploy extends BaseEntity {

    private static final long serialVersionUID = 1L;

      /**
     * ID
     */
      private Integer id;

      /**
     * 项目名称
     */
        @TableId(value = "xmbm", type = IdType.AUTO)
      private String xmbm;

      /**
     * 类型
     */
      private String type;

      /**
     * 描述
     */
      private String description;

      /**
     * 表名
     */
      @TableField("tableName")
    private String tableName;

      /**
     * tablePana的名称
     */
      @TableField("tablePanaName")
    private String tablePanaName;

      /**
     * id列名
     */
      @TableField("idColumn")
    private String idColumn;

      /**
     * 是否可见
     */
      private boolean visible;

      /**
     * 排序号
     */
      @TableField("disId")
    private Integer disid;

      /**
     * 是否存在distNo列
     */
      @TableField("hasDistNoColumn")
    private boolean hasDistNoColumn;

      /**
     * 是否存在ztId列
     */
      @TableField("hasZtIdColumn")
    private boolean hasZtIdColumn;

      /**
     * 是否存在years列
     */
      @TableField("hasYearsColumn")
    private boolean hasYearsColumn;

      /**
     * 是否存在months列
     */
      @TableField("hasMonthsColumn")
    private boolean hasMonthsColumn;

    @TableField("mustHaveData")
    private boolean mustHaveData;

    @TableField("sqlstr_jdbcTemplate")
    private String sqlstr_jdbcTemplate;

    @TableField("mainTable_isMultiData")
    private boolean mainTable_isMultiData;

    @TableField(exist = false)
    private String clientIdColumn;

    @TableField(exist = false)
    private List<String> mainKeys; //主键
    @TableField(exist = false)
    private List<String> mainKeys_title; //主键标题

    @TableField(exist = false)
    private List<Duijie_ShiJieShouDeploy_TablePana> tablePanas;


}
